package com.zzyl.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalTime;
import java.util.List;

@Data
public class AddNursingPlanDto {
    private Long id;
    private String planName;
    private List<Plan> projectPlans;
    private String remark;
    private Integer sortNo = 1;
    private Integer status = 1;

    @Data
    public static class Plan {
        private Integer executeCycle; //执行周期 0 天 1 周 2月
        private Integer executeFrequency; //执行频次
        @JsonFormat(pattern = "HH:mm")
        private LocalTime executeTime; //计划执行时间
        private Long projectId;//项目id
        private Long planId;
    }

}